﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Linq;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;
using Microsoft.Rtc.Collaboration;
using System.Diagnostics;

namespace UCMACellularWS
{
    public partial class RouteIMViaSMS : SequentialWorkflowActivity
    {
        public TargetUserConfiguration TargetUser { get; set; }
        public string Message { get; set; }


        private void RouteIMViaSMS_Initialized(object sender, EventArgs e)
        {

        }

        private void RouteIMViaSMS_Completed(object sender, EventArgs e)
        {

        }

        private void instantMessagingStatementActivity1_TurnStarting(object sender, Microsoft.Rtc.Workflow.Activities.InstantMessagingTurnStartingEventArgs e)
        {
            Debug.WriteLine("Testing");
        }

        private void generalFaultHandler_ExecuteCode(object sender, EventArgs e)
        {
            string errormessage = generalFaultHandlerActivity.Fault.Message;
            Debug.WriteLine(errormessage);

        }

        private void instantMessagingQuestionAnswerActivity1_TurnStarting(object sender, Microsoft.Rtc.Workflow.Activities.InstantMessagingTurnStartingEventArgs e)
        {
            Debug.WriteLine("IM QA");
        }












    }
}
